package com.lhh.springcloud.dao;

import com.lhh.springcloud.entity.Order;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author 李洪豪
 * @Sno 20220301044
 */
@Mapper
public interface OrderMapper {
    //增加订单信息
    void addOrder(@Param("order") Order order);

    //修改订单信息的状态
    void updateOrderStatus(@Param("user_id") Long user_id,@Param("status") Integer status);
}
